{% load markup voting_tags %}
{% load i18n %}

{% if page.object_list %}

{% for object in page.object_list %}
{% with "ask_questions_by_tag" as url_name %}


<div>
<div>
<h3><a href="{{ object.get_absolute_url }}">{{ object.get_title }}</a></h3>
  <div class="numblock">
  {% score_for_object object as score %}
  <div class="num"><b>{{ score.score }}</b></div>
  <div>{{_("Votes")}}</div>
  </div>
  <div class="numblock" style="background-color:#aaa;">
  {% with object.answer_set.all.count as cnt %}
  <div class="num"><b>{{ cnt }}</b></div>
  <div>{{_("Answers")}}</div>
  {% endwith %}
  </div>
  <div class="numblock" style="background-color:#aaa;">
  <div class="num"> {{ object.views }}</div>
  <div>{{_("Views")}}</div>
  </div>
  {% with "ask_question_by_tag" as url_name %}
  {% include "tag-list.html" %}
  {% endwith %}
  
  {% include "object-author-info.html" %}
</div>
<div style="clear:both;"></div>
</div>


{% endwith %}
{% if not forloop.last %}
<div class="split-line"></div>
{% endif %}
{% endfor %}
{% else %}
{{ _("There is no questions in this category.") }}
{% endif %}

{% include "paginator.html" %}
